package com.xinruke.hostels.dailymanage.interfaces.dto.guest;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author yutaipu
 */
@ApiModel("宾客修改请求DTO")
@Data
public class GuestModifyDTO {

    /**
     * id
     */
    @ApiModelProperty(value = "宾客id", required = true)
    @NotNull(message = "宾客id不能为空")
    private Integer id;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名", required = true)
    @NotBlank(message = "姓名不能为空")
    private String xingming;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String shoujihao;

    /**
     * 证件类型：1身份证，2军官证
     */
    @ApiModelProperty(value = "证件类型：1身份证，2军官证", required = true)
    @NotNull(message = "证件类型不能为空")
    private Byte zhengjianleixing;

    /**
     * 证件号
     */
    @ApiModelProperty(value = "证件号", required = true)
    @NotBlank(message = "证件号不能为空")
    private String zhengjianhao;

    /**
     * 业务类型：1.网上预订单；2.前台预订单；3入住订单；4系统新增
     */
    @ApiModelProperty(value = "业务类型：1.网上预订单；2.前台预订单；3入住订单；4系统新增")
    private Byte yewuleixing;

    /**
     * 业务来源id
     */
    @ApiModelProperty(value = "业务来源id")
    private Integer yewulaiyuanId;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String beizhu;
}
